var sess = sessionStorage.getItem("session");
var optiona;
if (!sess) {
	window.top.location = "../../login.html";
}
$(document).ready(function() {
	$('#area').combobox({
		url: IP + "GetDepartmentInfo?callback=?",
		valueField: 'id',
		textField: 'text',
		editable: false,
	});

	$.ajax({
		url: IP + "GetSystemParam?&callback=?&flag=1001" + "&session" + session,
		type: "Get",
		dataType: "jsonp",
		jsonp: "callback",
		jsonpCallback: "resultHandler",
		success: function(data) {
			var testJson = '';
			var options = data.vValue.split(",");

			for (var i = 0; i < options.length; i++) {
				$('#testtype').append("<option value="+options[i]+">"+options[i]+"</option>");
				
			}
			$("#testtype").combobox({});
		}
	})
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
});